export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

// 获取spu列表和修改
export interface SpuData {
  category3Id: string | number
  id?: number
  spuName: string
  tmId: string | number
  description: string
}
//数组：元素都是已有的spu数据类型
export type Records = SpuData[]
// 定义spu接口返回数据
export interface HasSpuResponseData extends ResponseData {
  data: {
    records: Records
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}
